//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: Prefedit_cb.h 757 2007-05-10 08:19:31Z roger $
//

#ifndef _PREFEDIT_CB_H
#define _PREFEDIT_CB_H

#include <gnome.h>
#include <gconf/gconf-client.h>

void
on_sc2tcRadio_toggled		(GtkToggleButton *togglebutton,
				gpointer         user_data);

void
on_tc2scRadio_toggled		(GtkToggleButton *togglebutton,
				gpointer         user_data);

void
on_noConvRadio_toggled		(GtkToggleButton *togglebutton,
				gpointer         user_data);

//zzc
void
on_inTrayRadio_toggled		(GtkToggleButton *togglebutton,
				gpointer         user_data);

void
on_notInTrayRadio_toggled	(GtkToggleButton *togglebutton,
				gpointer         user_data);

void
on_hzRadio_toggled		(GtkToggleButton *togglebutton,
				gpointer         user_data);

void
on_vtRadio_toggled	(GtkToggleButton *togglebutton,
				gpointer         user_data);

//zzc

void
on_componentOption_selected	(GtkMenuShell    *menushell,
				gpointer         user_data);

void
on_defaultIMOption_selected	(GtkComboBox    *combobox,
				gpointer         user_data);

void
on_tc_to_sc_item_activate(GtkMenuItem *menuitem, gpointer user_data);

void
on_sc_to_tc_item_activate(GtkMenuItem *menuitem, gpointer user_data);

void
on_no_conv_item_activate(GtkMenuItem *menuitem, gpointer user_data);

void
on_fontPicker_font_set		(GnomeFontPicker *gnomefontpicker,
				gchar           *arg1,
				gpointer         user_data);

void
on_fgColorPicker_color_set	(GnomeColorPicker *colorpicker,
				guint r,
				guint g,
				guint b,
				guint a,
				gpointer user_data);

void
on_bgColorPicker_color_set	(GnomeColorPicker *colorpicker,
				guint r,
				guint g,
				guint b,
				guint a,
				gpointer user_data);

void on_IM_Tree_View_Selection_changed(GtkTreeSelection *selection,
		gpointer data);

void on_IM_Button_Add_clicked (GtkButton *button, gpointer user_data);

void on_IM_Button_Remove_clicked (GtkButton *button, gpointer user_data);

void on_IM_Button_Property_clicked (GtkButton *button, gpointer user_data);

void on_IM_Button_ShiftUp_clicked (GtkButton *button, gpointer user_data);

void on_IM_Button_ShiftDown_clicked (GtkButton *button, gpointer user_data);

void on_Symbol_Tree_View_Selection_changed(GtkTreeSelection *selection,
		gpointer data);

void on_Symbol_Button_Add_clicked (GtkButton *button, gpointer user_data);

void on_Symbol_Button_Del_clicked (GtkButton *button, gpointer data);

void on_Symbol_Button_Apply_clicked (GtkButton *button, gpointer data);

void on_Word_Tree_View_Selection_changed(GtkTreeSelection *selection,
		gpointer data);

void on_Word_Button_Add_clicked (GtkButton *button, gpointer data);

void on_Word_Button_Del_clicked (GtkButton *button, gpointer data);

void on_Word_Button_Apply_clicked (GtkButton *button, gpointer data);

void clipboard_get_handler (GtkClipboard *cb, GtkSelectionData *sel_data,
		guint info, gpointer data);

void on_Status_Command_toggled (GConfClient *client,
		guint cnxn_id,
		GConfEntry *entry,
		gpointer data);
		
void on_help_button_clicked(GtkButton *widget, gpointer data);

#endif /* _PREFEDIT_CB_H */

// vi:ts=4:nowrap:cin:expandtab
